<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
<td>{$vo.id}</td>
<td>
    <!--查找酒店名称-->
    {if !empty($vo['hotel_id'])}
    <?php
        echo Db::name('hotel')->where('id',$vo['hotel_id'])->value('hotel_name');
    ?>

    {/if}
</td>
<td>
    {$vo.hotel_location|high_light=$Request.param.hotel_location}
</td>
<td>
    {$vo.hotel_manager|high_light=$Request.param.hotel_manager}
</td>
<td>
    {$vo.phone|high_light=$Request.param.phone}
</td>
<td    style="padding: 0px;">
    {php}
    if(!empty($listData)){
    foreach($listData as $kl=>$vl){
    // dump($vl['room_data']);dump(count($vl['room_data']));;die;
    if($vl['id'] == $vo['id'] && !empty($vl['room_data'])){

    $count = count($vl['room_data']);
    $i = 1;
    if(isset($vl['room_data']['room_type']) && $vl['room_data']['room_type'] == '尚未有房型'){
    continue;
    }
    foreach($vl['room_data'] as $vll=>$kll){

    $i++;
    echo "<span>";
                            echo $kll['room_type'];
                            echo "</span>";
    if(!($i > $count)){
    echo "<hr  width='100%' noshade='#000'/>";
    }
    }
    }
    }
    }
    {/php}
</td>
<td style="padding: 0px;">
    {php}
    if(!empty($listData)){
    foreach($listData as $kl=>$vl){
    // dump($vl['room_data']);dump(count($vl['room_data']));;die;
    if($vl['id'] == $vo['id'] && !empty($vl['room_data'])){

    $count = count($vl['room_data']);
    $i = 1;
    if(isset($vl['room_data']['room_number']) && $vl['room_data']['room_number'] == '尚未有房型'){
    continue;
    }
    foreach($vl['room_data'] as $vll=>$kll){

    $i++;
    echo "<span>";
                            echo $kll['number'];
                            echo "</span>";
    if(!($i > $count)){
    echo "<hr  width='100%' noshade='#000'/>";
    }
    }
    }
    }
    }
    {/php}
</td>
<td>{$vo.start_time|date="Y-m-d",###}</td>
<td>{$vo.end_time|date="Y-m-d",###}</td>
<td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
<td>{$vo.remark|high_light=$Request.param.remark}</td>